import request from '@/utils/request';


// 获取自动站监测数据
export function getJcDataList (data) {
  return request({
    url: "/monitor/autovaluatehourdata/list",
    method: "get",
    params: data,
  });
}

// 获取降雨数据列表
export function getRainDataList (data) {
  return request({
    url: "/rainfall/list",
    method: "get",
    params: data,
  });
}

// 获取气象数据列表
export function getQxDataList (data) {
  return request({
    url: "/data/meteorological/list",
    method: "get",
    params: data,
  });
}

// 获取水文数据列表
export function getSwDataList (data) {
  return request({
    url: "/monitor/flowmeter/selectmonitor",
    method: "get",
    params: data,
  });
}

// 污染源系列
// 获取污染源数据列表
export function getPmDataList (data) {
  return request({
    url: "/pollution/waterhourdata/onlineMonitorList",
    method: "get",
    params: data,
  });
}

// 获取污染源数据树
export function getPmDataTree (data) {
  return request({
    url: "/base/pollutionsource/treelist",
    method: "get",
    params: data,
  });
}

//水源地监测数据列表获取
export function getSsDataList (data) {
  return request({
    url: "/drink/autoQualityCalendar/historylist",
    method: "post",
    data,
  });
}

//手工断面饮用水源地数据查询
export function getManualWaterDataList (data) {
  return request({
    url: "/drink/manual/getManualWaterDataList",
    method: "get",
    params: data,
  });
}
